﻿<%@ Page Title="정보" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true"
    CodeBehind="About.aspx.cs" Inherits="ChurchFI.About" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <script type="text/javascript" language="javascript">
        $(document).ready(function () {
            $("#MNU_About").addClass("active");

            $("#btnCity").bind("click", function () {

                var city = {};
                city.Name = "Mumbai";
                city.Population = 2000;

                $.ajax({
                    type: 'POST',
                    url: './About.aspx/GetCity',
                    data: "{city:" + JSON.stringify(city) + "}",
                    contentType: 'application/json; charset=utf-8',
                    dataType: 'json',
                    success: function (r) {
                        alert(r.d.Name);
                        alert(r.d.Population);
                    }
                });
            });

            $("#btnUser").bind("click", function () {
                $.ajax({
                    type: 'POST',
                    url: './About.aspx/getUser',
                    data: "",
                    contentType: 'application/json; charset=utf-8',
                    dataType: 'json',
                    success: function (r) {
                        //alert(JSON.stringify(r));
                        var obj = r.d;
                        alert(obj.UserSeq);
                    }
                });
            });

            $("#btnUsers").bind("click", function () {
                $.ajax({
                    type: 'POST',
                    url: './About.aspx/getUsers',
                    data: "",
                    contentType: 'application/json; charset=utf-8',
                    dataType: 'json',
                    success: function (r) {
                        alert(JSON.stringify(r));
                    }
                });
            });

            var table = $('#example1').dataTable({
                "bProcessing": true,
                "bServerSide": true,
                "sAjaxSource": 'About.aspx/getUsers',
                "aoColumns": [
                    { "mDataProp": "UserSeq" },
                    { "mDataProp": "Name" },
                    { "mDataProp": "Email" },
                    { "mDataProp": "Pwd" },
                    { "mDataProp": "Role" }
                ]
            });

        });

    </script>

    <link rel="stylesheet" type="text/css" href="http://www.datatables.net/media/blog/bootstrap_2/DT_bootstrap.css" />
    <script type="text/javascript" charset="utf-8" language="javascript" src="http://www.datatables.net/release-datatables/media/js/jquery.dataTables.js"></script>
    <script type="text/javascript" charset="utf-8" language="javascript" src="http://www.datatables.net/media/blog/bootstrap_2/DT_bootstrap.js"></script>
    
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <input type="button" id = "btnCity" value="Get City" />
    <input type="button" id = "btnUser" value="Get User" />
    <input type="button" id = "btnUsers" value="Get Users" />


<table cellpadding="0" cellspacing="0" border="0" class="display" id="example1">
	<thead>
		<tr>
			<th width="20%">Rendering engine</th>
			<th width="25%">Browser</th>
			<th width="25%">Platform(s)</th>
			<th width="15%">Engine version</th>
			<th width="15%">CSS grade</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td colspan="5" class="dataTables_empty">Loading data from server</td>
		</tr>
	</tbody>
	<tfoot>
		<tr>
			<th>Rendering engine</th>
			<th>Browser</th>
			<th>Platform(s)</th>
			<th>Engine version</th>
			<th>CSS grade</th>
		</tr>
	</tfoot>
</table>


    <!-- Button to trigger modal -->
    <a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a>
 
    <!-- Modal -->
    <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">Modal header</h3>
      </div>
      <div class="modal-body">
        <p>One fine body…</p>
      </div>
      <div class="modal-footer">
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
        <button class="btn btn-primary">Save changes</button>
      </div>
    </div>


    <h2>Responsive utility classes</h2>
    <p>For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in <code>responsive.less</code>.</p>

    


    <table class="table table-bordered table-striped responsive-utilities">
    <thead>
        <tr>
        <th>Class</th>
        <th>Phones <small>767px and below</small></th>
        <th>Tablets <small>979px to 768px</small></th>
        <th>Desktops <small>Default</small></th>
        </tr>
    </thead>
    <tbody>
        <tr>
        <th><code>.visible-phone</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-tablet</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-desktop</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-phone</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-tablet</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-desktop</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
    </tbody>
    </table>
        <h2>Responsive utility classes</h2>
    <p>For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in <code>responsive.less</code>.</p>
    <table class="table table-bordered table-striped responsive-utilities">
    <thead>
        <tr>
        <th>Class</th>
        <th>Phones <small>767px and below</small></th>
        <th>Tablets <small>979px to 768px</small></th>
        <th>Desktops <small>Default</small></th>
        </tr>
    </thead>
    <tbody>
        <tr>
        <th><code>.visible-phone</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-tablet</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-desktop</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-phone</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-tablet</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-desktop</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
    </tbody>
    </table>
        <h2>Responsive utility classes</h2>
    <p>For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in <code>responsive.less</code>.</p>
    <table class="table table-bordered table-striped responsive-utilities">
    <thead>
        <tr>
        <th>Class</th>
        <th>Phones <small>767px and below</small></th>
        <th>Tablets <small>979px to 768px</small></th>
        <th>Desktops <small>Default</small></th>
        </tr>
    </thead>
    <tbody>
        <tr>
        <th><code>.visible-phone</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-tablet</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-desktop</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-phone</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-tablet</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-desktop</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
    </tbody>
    </table>
        <h2>Responsive utility classes</h2>
    <p>For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in <code>responsive.less</code>.</p>
    <table class="table table-bordered table-striped responsive-utilities">
    <thead>
        <tr>
        <th>Class</th>
        <th>Phones <small>767px and below</small></th>
        <th>Tablets <small>979px to 768px</small></th>
        <th>Desktops <small>Default</small></th>
        </tr>
    </thead>
    <tbody>
        <tr>
        <th><code>.visible-phone</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-tablet</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-desktop</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-phone</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-tablet</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-desktop</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
    </tbody>
    </table>
        <h2>Responsive utility classes</h2>
    <p>For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in <code>responsive.less</code>.</p>
    <table class="table table-bordered table-striped responsive-utilities">
    <thead>
        <tr>
        <th>Class</th>
        <th>Phones <small>767px and below</small></th>
        <th>Tablets <small>979px to 768px</small></th>
        <th>Desktops <small>Default</small></th>
        </tr>
    </thead>
    <tbody>
        <tr>
        <th><code>.visible-phone</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-tablet</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-desktop</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-phone</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-tablet</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-desktop</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
    </tbody>
    </table>
        <h2>Responsive utility classes</h2>
    <p>For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in <code>responsive.less</code>.</p>
    <table class="table table-bordered table-striped responsive-utilities">
    <thead>
        <tr>
        <th>Class</th>
        <th>Phones <small>767px and below</small></th>
        <th>Tablets <small>979px to 768px</small></th>
        <th>Desktops <small>Default</small></th>
        </tr>
    </thead>
    <tbody>
        <tr>
        <th><code>.visible-phone</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-tablet</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
        <tr>
        <th><code>.visible-desktop</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-phone</code></th>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-tablet</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        <td class="is-visible">Visible</td>
        </tr>
        <tr>
        <th><code>.hidden-desktop</code></th>
        <td class="is-visible">Visible</td>
        <td class="is-visible">Visible</td>
        <td class="is-hidden">Hidden</td>
        </tr>
    </tbody>
    </table>

    <h2>
        정보
    </h2>
    <p>
        여기에 내용을 넣으십시오.
        <a href="./Login.aspx?logout=1" >로그아웃</a>
    </p>


</asp:Content>
